package com.stu.service;

import com.vmware.vim25.mo.*;

import java.net.MalformedURLException;
import java.rmi.RemoteException;

/**
 * @projectName: learn_used_code
 * @packageName: com.stu.service
 * @className: com.stu.service-> TestVmwareApiService
 * @createDate: 2021-11-19 18:24
 * @author: ZhangSheng
 * @version: 1.0
 * @description:
 */
public interface TestVmwareApiService {


    ServiceInstance connection() throws MalformedURLException, RemoteException;

    ServiceInstance getServiceInstance();

    HostSystem[] getHostSystemList() throws RemoteException;

    VirtualMachine[] getVirtualMachineList() throws RemoteException;

    ResourcePool[] getResourcePoolList() throws RemoteException;

    Datacenter[] getDatacenterList() throws RemoteException;

    ClusterComputeResource[] getClustComputeResourceList() throws RemoteException;

    Datastore[] getDatastoreList() throws RemoteException;

    Network[] getNetworks() throws RemoteException;


}
